package com.jzo2o.customer.controller.open;

import com.jzo2o.customer.model.dto.request.InstitutionRegisterReqDTO;
import com.jzo2o.customer.model.dto.request.LoginForWorkReqDTO;
import com.jzo2o.customer.model.dto.response.LoginResDTO;
import com.jzo2o.customer.service.IInstitutionRegisterService;
import com.jzo2o.customer.service.ILoginService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/open/serve-provider/institution")
@Api(tags = "白名单接口 - 客户登录相关接口")
public class RegisterController {
    @Resource
    private IInstitutionRegisterService registerService;
    @PostMapping("/register")
    public void institutionRegister(@RequestBody InstitutionRegisterReqDTO registerReqDTO) {
        registerService.institutionRegister(registerReqDTO);
    }

}
